import { createStore } from 'vuex'

const store = {
    state: {
        count: 9
    },
    getters: {
        getCount: (state: any): number => state.count
    },
    mutations: {
        setCount: (state: any, value: number): void => {
            state.count += value
        }
    },
    actions: {

    }
}


export default createStore(store)